﻿/* 
 *  <copyright file="IMovement.cs" company="Wesley Jowitt">
 *  
 *  SobrietyEngine: Copyright (c) 2011 Wesley Jowitt
 *  
 *  This software is distributed under a software license.
 *   * As of the creation time of this file, the license in use is the Microsoft Permissive License (Ms-PL) 
 *    * The license can be viewed at:
 *     * License.Txt in the root folder of this project
 *      * http://sobrietyengine.codeplex.com/license
 *       * http://www.microsoft.com/opensource/licenses.mspx
 *       
 *  </copyright>
 *   */

using System;

using Microsoft.Xna.Framework;

namespace SobrietyEngine.Components
{
    public interface IMovement
    {
        Vector2 TargetV2 { get; }
        Boolean HasTarget { get; set; }
        float TargetRange { get; set; }

        Vector2 Dir { get; set; }
        Boolean TargetlessMovement { get; set; }

        void SetTarget(Vector2 target);

        float MaximumVelocity { get; set; }
        Boolean ClampVelocity { get; set; }

        void Brake();
    }
}
